Skip to content

Do not load admin code when on frontend#41

Merged
xxsimoxx merged 2 commits intoClassicPress:mainfrom
xxsimoxx:fix/loadwhenneeded
Oct 21, 2025
Merged

Do not load admin code when on frontend#41
xxsimoxx merged 2 commits intoClassicPress:mainfrom
xxsimoxx:fix/loadwhenneeded

Conversation

@xxsimoxx
Copy link
Member

Move admin code to the end and skip loading if not in backend.

Closes #40.

I haven't been able to reproduce the issue, but this should be a fix.

@xxsimoxx xxsimoxx requested a review from KTS915 October 20, 2025 07:48
@xxsimoxx
Copy link
Member Author

I've also changed two workflows to use 10up/wpcs-action@v1.7.0 as it's the last working version.

Copy link
Member

@KTS915 KTS915 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xxsimoxx xxsimoxx merged commit 9ee3005 into ClassicPress:main Oct 21, 2025
2 checks passed
@xxsimoxx xxsimoxx deleted the fix/loadwhenneeded branch October 21, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undefined array key

2 participants